package com.wlb365.financing.modules.template.request;

import com.wlb365.financing.common.constants.ApiConstants;
import com.wlb365.financing.modules.template.response.TemplatePageRes;
import com.wlb365.sdk.model.BaseRequest;
import lombok.Data;

/**
 * 模板分页参数请求类
 * @Author LuHang
 * @Date 2021/5/18 10:08
 * @Version 1.0
 */
@Data
public class TemplateQueryPageReq extends BaseRequest<TemplatePageRes> {
    public TemplateQueryPageReq() {
        super(ApiConstants.DATA_CENTER_TEMPLATE_PAGE, "1.0");
    }
    public TemplateQueryPageReq(String method) {
        super(method, "1.0");
    }
    public TemplateQueryPageReq(String method, String version) {
        super(method, version);
    }
    @Override
    public String method() {
        return super.getMethod();
    }

    private long current = 1;

    private long size = 10;

    // 模板名称
    private String name;

    // 模板类型 0：系统模板；1：用户模板
    private String templateType;

    // 模板业务类型
    private String templateBtype;

    // 字段机构id
    private String subscribeBy;

}
